package com.leeon.exception;

import static net.mindview.util.Print.print;

public class MultipleReturns {

	public static void f(int i){
		try {
			print("Initialization");
			print("point 1");
			if(i == 1)return;
			print("point 2");
			if(i == 2)return;
			print("point 3");
			if(i == 3)return;
			print("end");
			return;
		} finally {
			print("Performin cleanup");
		}
	}
	
	public static void main(String[] args){
		for (int i = 0; i <= 4; i++) {
			f(i);
		}
	}
	
	
}
